package org.csu.forum.domain.PO;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.Date;

@Component
@TableName("message")
@Data

public class Message {

    @TableField("msg_id")
    private int msgid;

    @TableField("sender_id")
    private int senderid;

    @TableField("receiver_id")
    private int receiverid;

    @TableField("msg_content")
    private String msgcontent;

    @TableField("time")
    private Date time;

}
